package com.example.campusforumapi.entity;

import lombok.Data;
import lombok.Getter;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
public class User {
    private Integer userId; //唯一标识用户
    private String username;//用户名
    private String password;//密码
    private String avatar;//头像
    private String gender;//性别
    private LocalDateTime registertime;//注册时间
    private LocalDateTime updatetime;//最后更新时间
    private String email;//邮箱
    private String phone;//电话
    private String birthdate;//生日
    private Integer departmentId;//关联院系id
    private Integer isdel;//软删除标记
    private String departmentName;
    private String name;//用户真实姓名

}